import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { NormalComponent } from './components/normal/normal.component';

const routes: Routes = [
    { path: 'normal', component: NormalComponent },
    { path: '**', redirectTo: 'normal' },
    { path: '', redirectTo: 'normal', pathMatch: 'full' },
];

@NgModule({
    imports: [RouterModule.forRoot(routes)],
    exports: [RouterModule],
})
export class AppRoutingModule {}
